<?php
error_reporting(0);
set_magic_quotes_runtime(0);
header("content-Type: text/html; charset=utf-8");
// framework 目录路径
$framework_folder	= "./framework";
// protected 目录路径
$protected_folder 	= "./protected";
// 开发模式
define('DEBUG',TRUE);
define('EXT','.'.pathinfo(__FILE__, PATHINFO_EXTENSION));
define('SELF', pathinfo(__FILE__, PATHINFO_BASENAME));
define('FCPATH', __FILE__);
// 系统常量BASEPATH,framework 目录路径
define('BASEPATH',str_replace("\\", "/", realpath(dirname(__FILE__))).'/'.$framework_folder.'/');
// 系统常量BASEPATH,protected 目录路径
define('APPPATH',str_replace("\\", "/", realpath(dirname(__FILE__))).'/'.$protected_folder.'/');
require_once (BASEPATH.'TApplication'.EXT);
?>
